<?php $this->load->view($config['site_template'].'/head');?>
<body class="gray-bg">

    <div class="wrapper wrapper-content animated fadeInUp">
        <div class="row">
            <div class="col-sm-12">

                <div class="ibox">
                    <!--
                    <div class="ibox-title">
                        <h5>所有列表</h5>

                        <div class="ibox-tools">
                            <a href="projects.html" class="btn btn-primary btn-xs">创建新项目</a>
                        </div>

                    </div>
                    -->
                    <div class="ibox-content">

                        <div class="row m-b-sm m-t-sm">
                            <div class="col-md-1">
                                <button type="button" id="loading-example-btn" class="btn btn-white btn-sm"><i class="fa fa-refresh"></i> 刷新</button>
                            </div>
                            <div class="col-md-11">
                                <div class="form-inline">
<!--                                    <input type="text" placeholder="请输入异常问题描述" class="input-sm form-control"> -->
                                    <select class="input-sm form-control" id="productLineSerach" data-style="btn-primary" data-width="40%" title="请选择生产线名称">
                                        <option data-hidden="true" value="" disable>---请选择生产线名称---</option>
                                        <?php foreach ($lineData as $value):?>
                                            <option value="<?=$value['lineId']?>" <?= ($value['lineId'] === $productLine) ? "selected" : ""?>><?=$value['lineName']?></option>
                                        <?php endforeach;?>
                                    </select>
                                    <select class="input-sm form-control" id="classesSearch" data-style="btn-primary" data-width="40%" title="请选择班次">
                                        <option data-hidden="true" value="" disable>---请选择班次---</option>
                                        <?php foreach ($classesData as $value):?>
                                            <option value="<?=$value['val']?>" <?= ($value['val'] === $classes) ? "selected" : ""?>><?=$value['valName']?></option>
                                        <?php endforeach;?>
                                    </select>
<!--                                    <span class="input-group-btn form-control">-->
                                        <button type="button" id="serachBtn" class="btn btn-sm btn-primary"> 搜索</button>
<!--                                    </span>-->
                                </div>
                            </div>
                        </div>

                        <div class="project-list">

                            <table class="table table-hover">
                                <tbody>
                                    <tr>
                                        <td class="project-title">
                                            <a href="javascript:void(0)">序号</a>
                                        </td>
                                        <td class="project-title">
                                            <a href="javascript:void(0)">填写人</a>
                                        </td>
<!--                                        <td class="project-title">-->
<!--                                            <a href="javascript:void(0)">所在部门</a>-->
<!--                                        </td>-->
                                        <td class="project-title">
                                            <a href="javascript:void(0)">填写时间</a>
                                        </td>
                                        <td class="project-title">
                                            <a href="javascript:void(0)">生产线名称</a>
                                        </td>
                                        <td class="project-title">
                                            <a href="javascript:void(0)">班次</a>
                                        </td>
                                        <td class='project-title'>
                                            <a href='javascript:void(0)'>按钮、灯、仪表、门锁是否损坏、显示异常、是否缺失</a>
                                        </td>
                                        <td class='project-title'>
                                            <a href='javascript:void(0)'>冷却循环进水压力值</a>
                                        </td>
                                        <td class='project-title'>
                                            <a href='javascript:void(0)'>冷却循环进水压力值照片</a>
                                        </td>
                                        <td class='project-title'>
                                            <a href='javascript:void(0)'>冷却循环水流量值</a>
                                        </td>
                                        <td class='project-title'>
                                            <a href='javascript:void(0)'>冷却循环水流量值照片</a>
                                        </td>
                                        <td class='project-title'>
                                            <a href='javascript:void(0)'>水、气管道状态是否异常、连接点是否渗漏</a>
                                        </td>
                                        <td class='project-title'>
                                            <a href='javascript:void(0)'>氧气总、分流量计是否异常、数值是否跳动</a>
                                        </td>
                                        <td class='project-title'>
                                            <a href='javascript:void(0)'>窑炉传动电机是否正常运行、无异响</a>
                                        </td>
                                        <td class='project-title'>
                                            <a href='javascript:void(0)'>窑炉风机是否正常运行、无异响</a>
                                        </td>
                                        <td class='project-title'>
                                            <a href='javascript:void(0)'>窑炉传动辊棒是否正常转动、无翘起</a>
                                        </td>
                                        <td class='project-title'>
                                            <a href='javascript:void(0)'>窑炉传动辊棒异常照片</a>
                                        </td>
                                        <td class='project-title'>
                                            <a href='javascript:void(0)'>窑炉置换室是否运行正常、无异响</a>
                                        </td>
                                        <td class='project-title'>
                                            <a href='javascript:void(0)'>窑炉炉门是否卡顿、异响</a>
                                        </td>
                                        <td class='project-title'>
                                            <a href='javascript:void(0)'>气管、电磁阀气管、电磁阀是否漏气</a>
                                        </td>
                                        <td class='project-title'>
                                            <a href='javascript:void(0)'>气缸、磁性开关动作是否卡顿、漏气、感应不正常</a>
                                        </td>
                                        <td class='project-title'>
                                            <a href='javascript:void(0)'>循环线螺丝、防护罩是否缺失、破损、未封闭</a>
                                        </td>
                                        <td class='project-title'>
                                            <a href='javascript:void(0)'>循环线螺丝、防护罩异常照片</a>
                                        </td>
                                        <td class='project-title'>
                                            <a href='javascript:void(0)'>循环线电机是否正常运行、无异响</a>
                                        </td>
                                        <td class='project-title'>
                                            <a href='javascript:void(0)'>装钵、翻转位连接螺栓是否松动、缺失</a>
                                        </td>
                                        <td class='project-title'>
                                            <a href='javascript:void(0)'>装钵、翻转位连接螺栓异常照片</a>
                                        </td>
                                        <td class='project-title'>
                                            <a href='javascript:void(0)'>装钵、翻转位是否运行平稳、无异响、无漏料</a>
                                        </td>

                                        <td class="project-title">
                                            <a href="javascript:void(0)">备注</a>
                                        </td>

                                        <td class="project-title" style="text-align: right;">
                                            <a href="javascript:void(0)">操作</a>
                                        </td>
                                    </tr>
                                    <?php foreach ($list as $value):?>
                                    <tr>
                                        
                                        <td class="project-status">
                                            <span class="label label-primary"><?=$value['lid']?>
                                        </td>
                                        <td class="project">
                                            <?=$value['userName']?>
                                        </td>
<!--                                        <td class="project">-->
<!--                                            --><?//=$value['userDeptName']?>
<!--                                        </td>-->
                                        <td class="project">
                                            <?=date('Y-m-d H:i:s',$value['createTime'])?>
                                        </td>
                                        <td class="project">
                                            <?=$value['productLine']?>
                                        </td>
                                        <td class="project">
                                            <?=$value['classes'] == 0 ? "夜班" : "白班"?>
                                        </td>

                                        <td class='project'>
                                            <?=$value['isButtonBroken'] == 0 ? '否' : '是'?>
                                        </td>

                                        <td class='project'>
                                            <?=$value['coolWaterPressureValue']?> MPa
                                        </td>

                                        <td class='social-avatar'>
                                            <a href='javascript:void(0)'>
                                                <?php if(strlen($value['coolWaterPressureValueImgSrc'])  > 0):?>
                                                    <img alt='image' class='img' id='coolWaterPressureValueImgSrc' src='<?=  base_url().$value['coolWaterPressureValueImgSrc']?>'>
                                                <?php endif;?>
                                            </a>
                                        </td>

                                        <td class='project'>
                                            <?=$value['coolWaterFlowValue']?> m³/h
                                        </td>

                                        <td class='social-avatar'>
                                            <a href='javascript:void(0)'>
                                                <?php if(strlen($value['coolWaterFlowValueImgSrc'])  > 0):?>
                                                    <img alt='image' class='img' id='coolWaterFlowValueImgSrc' src='<?=  base_url().$value['coolWaterFlowValueImgSrc']?>'>
                                                <?php endif;?>
                                            </a>
                                        </td>

                                        <td class='project'>
                                            <?=$value['isPipelineAbnormality'] == 0 ? '否' : '是'?>
                                        </td>

                                        <td class='project'>
                                            <?=$value['isFlowmeterAbnormal'] == 0 ? '否' : '是'?>
                                        </td>

                                        <td class='project'>
                                            <?=$value['isKilnMotorNormal'] == 0 ? '否' : '是'?>
                                        </td>

                                        <td class='project'>
                                            <?=$value['isKilnFanNormal'] == 0 ? '否' : '是'?>
                                        </td>

                                        <td class='project'>
                                            <?=$value['isKilnRollerNormal'] == 0 ? '否' : '是'?>
                                        </td>

                                        <td class='social-avatar'>
                                            <a href='javascript:void(0)'>
                                                <?php if(strlen($value['kilnRollerNormalImgSrc'])  > 0):?>
                                                    <img alt='image' class='img' id='kilnRollerNormalImgSrc' src='<?=  base_url().$value['kilnRollerNormalImgSrc']?>'>
                                                <?php endif;?>
                                            </a>
                                        </td>

                                        <td class='project'>
                                            <?=$value['isKilnReplaceRoomNormal'] == 0 ? '否' : '是'?>
                                        </td>

                                        <td class='project'>
                                            <?=$value['isKilnDoorAbnormal'] == 0 ? '否' : '是'?>
                                        </td>

                                        <td class='project'>
                                            <?=$value['isTrachealLeakage'] == 0 ? '否' : '是'?>
                                        </td>

                                        <td class='project'>
                                            <?=$value['isMagneticSwitchAbnormal'] == 0 ? '否' : '是'?>
                                        </td>

                                        <td class='project'>
                                            <?=$value['isProtectionCoverAbnormal'] == 0 ? '否' : '是'?>
                                        </td>

                                        <td class='social-avatar'>
                                            <a href='javascript:void(0)'>
                                                <?php if(strlen($value['protectionCoverAbnormalImgSrc'])  > 0):?>
                                                    <img alt='image' class='img' id='protectionCoverAbnormalImgSrc' src='<?=  base_url().$value['protectionCoverAbnormalImgSrc']?>'>
                                                <?php endif;?>
                                            </a>
                                        </td>

                                        <td class='project'>
                                            <?=$value['isCirculatingMotorNormal'] == 0 ? '否' : '是'?>
                                        </td>

                                        <td class='project'>
                                            <?=$value['isConnectingBoltAbnormal'] == 0 ? '否' : '是'?>
                                        </td>

                                        <td class='social-avatar'>
                                            <a href='javascript:void(0)'>
                                                <?php if(strlen($value['connectingBoltAbnormalImgSrc'])  > 0):?>
                                                    <img alt='image' class='img' id='connectingBoltAbnormalImgSrc' src='<?=  base_url().$value['connectingBoltAbnormalImgSrc']?>'>
                                                <?php endif;?>
                                            </a>
                                        </td>

                                        <td class='project'>
                                            <?=$value['isTranspositionNormal'] == 0 ? '否' : '是'?>
                                        </td>



                                        <td class="project">
                                            <?=$value['remark']?>
                                        </td>
                                        <td class="project-actions">
                                            <a href="javascript:void(0)" class="btn btn-white btn-sm showOrder"><input type="hidden" name="id" value="<?=$value['id']?>"><i class="fa fa-folder"></i> 查看 </a>
                                            <!--<a href="projects.html#" class="btn btn-white btn-sm"><i class="fa fa-pencil"></i> 编辑 </a>-->
                                        </td>
                                       
                                    </tr>
                                    <?php endforeach;?>
                                    </tbody>
                                    
                                    
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    <script>
       $(document).ready(function() {
            $("#loading-example-btn").click(function() {
                btn = $(this);
                simpleLoad(btn, true);
                simpleLoad(btn, false)
                var productLineSerach = $("#productLineSerach option:selected").val();
                var classesSearch = $("#classesSearch option:selected").val();
                window.location.href = "<?=base_url('XunJian_YiShao/dataAllList_SBYJDJB?productLine=')?>" + productLineSerach + "&classes=" + classesSearch;
            })
            $('.img').click(function(){
                var src = $(this).attr("src")
                var id = $(this).attr("id");
                var showText;
                if(id == 'coolWaterPressureValueImgSrc'){
                    showText = '冷却循环进水压力值照片';
                }else if(id == 'coolWaterFlowValueImgSrc'){
                    showText = '冷却循环水流量值照片';
                }else if(id == 'kilnRollerNormalImgSrc'){
                    showText = '窑炉传动辊棒异常照片';
                }else if(id == 'protectionCoverAbnormalImgSrc'){
                    showText = '循环线螺丝、防护罩异常照片';
                }else if(id == 'connectingBoltAbnormalImgSrc'){
                    showText = '装钵、翻转位连接螺栓异常照片';
                }
                $(".showText").text(showText);
                $("#thumb").attr('src',src);
                $(".showThumb").click();
            });
            $("#serachBtn").click(function () {
                var productLineSerach = $("#productLineSerach option:selected").val();
                var classesSearch = $("#classesSearch option:selected").val();
                window.location.href = "<?=base_url('XunJian_YiShao/dataAllList_SBYJDJB?productLine=')?>" + productLineSerach + "&classes=" + classesSearch;
            });
            $(".showOrder").click(function(){
                var id = $(this).find("[name=id]").val();
                $.ajax({
                    type:"GET",
                    url:'<?=base_url("XunJian_YiShao/getSingleContent_SBYJDJB?id=")?>'+id,
                    dataType: "json",
                    success:function(data){
                        console.log(data);
                        if(data.userName.length > 0){
                            $("#userName").html(data.userName);
                        }else{
                            $("#userName").html("无数据");
                        }
                        // if(data.userDeptName.length > 0){
                        //     $("#userDeptName").html(data.userDeptName);
                        // }else{
                        //     $("#userDeptName").html("无数据");
                        // }
                        if(data.createTime.length > 0){
                            $("#createTime").html(data.createTime);
                        }else{
                            $("#createTime").html("无数据");
                        }
                        if(data.productLine.length > 0){
                            $("#productLine").html(data.productLine);
                        }else{
                            $("#productLine").html("无数据");
                        }
                        if(data.classes.length > 0){
                            var classes;
                            if(data.classes == 0){
                                classes = "夜班";
                            }else if(data.classes == 1){
                                classes = "白班";
                            }
                            $("#classes").html(classes);
                        }else{
                            $("#classes").html("无数据");
                        }

                        if(data.isButtonBroken.length > 0){
                            var isButtonBroken;
                            if(data.isButtonBroken == 0){
                                isButtonBroken = '否';
                            }else if(data.isButtonBroken == 1){
                                isButtonBroken = '是';
                            }
                            $('#isButtonBroken').html(isButtonBroken);
                        }else{
                            $('#isButtonBroken').html('无数据');
                        }

                        if(data.coolWaterPressureValue.length > 0){
                            $('#coolWaterPressureValue').html(data.coolWaterPressureValue + ' MPa');
                        }else{
                            $('#coolWaterPressureValue').html('无数据');
                        }

                        if(data.coolWaterPressureValueImgSrc.length > 0){
                            $('#coolWaterPressureValueImgSrcShow').html('<img src="<?=  base_url()?>'+data.coolWaterPressureValueImgSrc+'" class="img-responsive" alt="Cinque Terre">');
                        }else{
                            $('#coolWaterPressureValueImgSrcShow').html('无数据');
                        }

                        if(data.coolWaterFlowValue.length > 0){
                            $('#coolWaterFlowValue').html(data.coolWaterFlowValue + ' m³/h');
                        }else{
                            $('#coolWaterFlowValue').html('无数据');
                        }

                        if(data.coolWaterFlowValueImgSrc.length > 0){
                            $('#coolWaterFlowValueImgSrcShow').html('<img src="<?=  base_url()?>'+data.coolWaterFlowValueImgSrc+'" class="img-responsive" alt="Cinque Terre">');
                        }else{
                            $('#coolWaterFlowValueImgSrcShow').html('无数据');
                        }

                        if(data.isPipelineAbnormality.length > 0){
                            var isPipelineAbnormality;
                            if(data.isPipelineAbnormality == 0){
                                isPipelineAbnormality = '否';
                            }else if(data.isPipelineAbnormality == 1){
                                isPipelineAbnormality = '是';
                            }
                            $('#isPipelineAbnormality').html(isPipelineAbnormality);
                        }else{
                            $('#isPipelineAbnormality').html('无数据');
                        }

                        if(data.isFlowmeterAbnormal.length > 0){
                            var isFlowmeterAbnormal;
                            if(data.isFlowmeterAbnormal == 0){
                                isFlowmeterAbnormal = '否';
                            }else if(data.isFlowmeterAbnormal == 1){
                                isFlowmeterAbnormal = '是';
                            }
                            $('#isFlowmeterAbnormal').html(isFlowmeterAbnormal);
                        }else{
                            $('#isFlowmeterAbnormal').html('无数据');
                        }

                        if(data.isKilnMotorNormal.length > 0){
                            var isKilnMotorNormal;
                            if(data.isKilnMotorNormal == 0){
                                isKilnMotorNormal = '否';
                            }else if(data.isKilnMotorNormal == 1){
                                isKilnMotorNormal = '是';
                            }
                            $('#isKilnMotorNormal').html(isKilnMotorNormal);
                        }else{
                            $('#isKilnMotorNormal').html('无数据');
                        }

                        if(data.isKilnFanNormal.length > 0){
                            var isKilnFanNormal;
                            if(data.isKilnFanNormal == 0){
                                isKilnFanNormal = '否';
                            }else if(data.isKilnFanNormal == 1){
                                isKilnFanNormal = '是';
                            }
                            $('#isKilnFanNormal').html(isKilnFanNormal);
                        }else{
                            $('#isKilnFanNormal').html('无数据');
                        }

                        if(data.isKilnRollerNormal.length > 0){
                            var isKilnRollerNormal;
                            if(data.isKilnRollerNormal == 0){
                                isKilnRollerNormal = '否';
                            }else if(data.isKilnRollerNormal == 1){
                                isKilnRollerNormal = '是';
                            }
                            $('#isKilnRollerNormal').html(isKilnRollerNormal);
                        }else{
                            $('#isKilnRollerNormal').html('无数据');
                        }

                        if(data.kilnRollerNormalImgSrc.length > 0){
                            $('#kilnRollerNormalImgSrcShow').html('<img src="<?=  base_url()?>'+data.kilnRollerNormalImgSrc+'" class="img-responsive" alt="Cinque Terre">');
                        }else{
                            $('#kilnRollerNormalImgSrcShow').html('无数据');
                        }

                        if(data.isKilnReplaceRoomNormal.length > 0){
                            var isKilnReplaceRoomNormal;
                            if(data.isKilnReplaceRoomNormal == 0){
                                isKilnReplaceRoomNormal = '否';
                            }else if(data.isKilnReplaceRoomNormal == 1){
                                isKilnReplaceRoomNormal = '是';
                            }
                            $('#isKilnReplaceRoomNormal').html(isKilnReplaceRoomNormal);
                        }else{
                            $('#isKilnReplaceRoomNormal').html('无数据');
                        }

                        if(data.isKilnDoorAbnormal.length > 0){
                            var isKilnDoorAbnormal;
                            if(data.isKilnDoorAbnormal == 0){
                                isKilnDoorAbnormal = '否';
                            }else if(data.isKilnDoorAbnormal == 1){
                                isKilnDoorAbnormal = '是';
                            }
                            $('#isKilnDoorAbnormal').html(isKilnDoorAbnormal);
                        }else{
                            $('#isKilnDoorAbnormal').html('无数据');
                        }

                        if(data.isTrachealLeakage.length > 0){
                            var isTrachealLeakage;
                            if(data.isTrachealLeakage == 0){
                                isTrachealLeakage = '否';
                            }else if(data.isTrachealLeakage == 1){
                                isTrachealLeakage = '是';
                            }
                            $('#isTrachealLeakage').html(isTrachealLeakage);
                        }else{
                            $('#isTrachealLeakage').html('无数据');
                        }

                        if(data.isMagneticSwitchAbnormal.length > 0){
                            var isMagneticSwitchAbnormal;
                            if(data.isMagneticSwitchAbnormal == 0){
                                isMagneticSwitchAbnormal = '否';
                            }else if(data.isMagneticSwitchAbnormal == 1){
                                isMagneticSwitchAbnormal = '是';
                            }
                            $('#isMagneticSwitchAbnormal').html(isMagneticSwitchAbnormal);
                        }else{
                            $('#isMagneticSwitchAbnormal').html('无数据');
                        }

                        if(data.isProtectionCoverAbnormal.length > 0){
                            var isProtectionCoverAbnormal;
                            if(data.isProtectionCoverAbnormal == 0){
                                isProtectionCoverAbnormal = '否';
                            }else if(data.isProtectionCoverAbnormal == 1){
                                isProtectionCoverAbnormal = '是';
                            }
                            $('#isProtectionCoverAbnormal').html(isProtectionCoverAbnormal);
                        }else{
                            $('#isProtectionCoverAbnormal').html('无数据');
                        }

                        if(data.protectionCoverAbnormalImgSrc.length > 0){
                            $('#protectionCoverAbnormalImgSrcShow').html('<img src="<?=  base_url()?>'+data.protectionCoverAbnormalImgSrc+'" class="img-responsive" alt="Cinque Terre">');
                        }else{
                            $('#protectionCoverAbnormalImgSrcShow').html('无数据');
                        }

                        if(data.isCirculatingMotorNormal.length > 0){
                            var isCirculatingMotorNormal;
                            if(data.isCirculatingMotorNormal == 0){
                                isCirculatingMotorNormal = '否';
                            }else if(data.isCirculatingMotorNormal == 1){
                                isCirculatingMotorNormal = '是';
                            }
                            $('#isCirculatingMotorNormal').html(isCirculatingMotorNormal);
                        }else{
                            $('#isCirculatingMotorNormal').html('无数据');
                        }

                        if(data.isConnectingBoltAbnormal.length > 0){
                            var isConnectingBoltAbnormal;
                            if(data.isConnectingBoltAbnormal == 0){
                                isConnectingBoltAbnormal = '否';
                            }else if(data.isConnectingBoltAbnormal == 1){
                                isConnectingBoltAbnormal = '是';
                            }
                            $('#isConnectingBoltAbnormal').html(isConnectingBoltAbnormal);
                        }else{
                            $('#isConnectingBoltAbnormal').html('无数据');
                        }

                        if(data.connectingBoltAbnormalImgSrc.length > 0){
                            $('#connectingBoltAbnormalImgSrcShow').html('<img src="<?=  base_url()?>'+data.connectingBoltAbnormalImgSrc+'" class="img-responsive" alt="Cinque Terre">');
                        }else{
                            $('#connectingBoltAbnormalImgSrcShow').html('无数据');
                        }

                        if(data.isTranspositionNormal.length > 0){
                            var isTranspositionNormal;
                            if(data.isTranspositionNormal == 0){
                                isTranspositionNormal = '否';
                            }else if(data.isTranspositionNormal == 1){
                                isTranspositionNormal = '是';
                            }
                            $('#isTranspositionNormal').html(isTranspositionNormal);
                        }else{
                            $('#isTranspositionNormal').html('无数据');
                        }

                        if(data.remark.length > 0){
                            $("#remark").html(data.remark);
                        }else{
                            $("#remark").html("无数据");
                        }

                        $(".showAbnormalQas").click();
                    }
                    
                })
            })
        });

        function simpleLoad(btn, state) {
            if (state) {
                btn.children().addClass("fa-spin");
                btn.contents().last().replaceWith(" Loading")
            } else {
                setTimeout(function() {
                    btn.children().removeClass("fa-spin");
                    btn.contents().last().replaceWith(" Refresh")
                },
                2000)
            }
        };
    
        $(function () { $('#imgShow').modal('hide')});
        $(function () { $('#imgShow').on('hide.bs.modal', function () {
           //alert('嘿，我听说您喜欢模态框...');
           })
        });
    </script>
    
    </body>
    <!--异常问题截图展示-->
    <!-- 按钮触发模态框 -->
    <button class="btn btn-primary btn-lg showThumb" style="display: none" data-toggle="modal" data-target="#imgShow">
            演示图片模态框
    </button>
    <!-- 模态框（Modal） -->
    <div class="modal fade" id="imgShow" tabindex="-1" role="dialog" aria-labelledby="imgShowLabel" aria-hidden="true">
            <div class="modal-dialog">
                    <div class="modal-content">
                            <div class="modal-header">
                                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×
                                    </button>
                                    <h4 class="modal-title" id="imgShowLabel">
                                        <div class="showText">异常问题截图</div>
                                    </h4>
                            </div>
                            <div class="modal-body">
                                    <img id="thumb" src="" class="img-responsive" alt="Cinque Terre"> 
                            </div>
                            <div class="modal-footer">
                                    <button type="button" class="btn btn-primary" data-dismiss="modal">
                                            关闭
                                    </button>
                            </div>
                    </div><!-- /.modal-content -->
            </div><!-- /.modal-dialog -->
    </div><!-- /.modal -->
    
    <!--异常问题详细内容展示-->
    <!-- 按钮触发模态框 -->
    <button class="btn btn-primary btn-lg showAbnormalQas" style="display: none" data-toggle="modal" data-target="#AbnormalQasShow">
            异常问题详细模态框
    </button>
    <!-- 模态框（Modal） -->
    <div class="modal fade" id="AbnormalQasShow" tabindex="-1" role="dialog" aria-labelledby="AbnormalQasShowLabel" aria-hidden="true">
            <div class="modal-dialog">
                    <div class="modal-content">
                            <div class="modal-header">
                                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×
                                    </button>
                                    <h4 class="modal-title" id="AbnormalQasShowLabel">
                                        设备一级点检表
                                    </h4>
                            </div>
                            <div class="modal-body">
                                <div class="form-group">
                                    <label class="col-sm-6 control-label well well-sm">填写人</label>
                                    <div id="userName" class="col-sm-6 well well-sm">
                                    </div>
                                </div>
<!--                                <div class="form-group">-->
<!--                                    <label class="col-sm-6 control-label well well-sm">所在部门</label>-->
<!--                                    <div id="userDeptName" class="col-sm-6 well well-sm">-->
<!--                                    </div>-->
<!--                                </div>-->
                                <div class="form-group">
                                    <label class="col-sm-6 control-label well well-sm">填写时间</label>
                                    <div id="createTime" class="col-sm-6 well well-sm">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-6 control-label well well-sm">生产线名称</label>
                                    <div id="productLine" class="col-sm-6 well well-sm">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-6 control-label well well-sm">班次</label>
                                    <div id="classes" class="col-sm-6 well well-sm">
                                    </div>
                                </div>
                                <div class='form-group'>
                                    <label class='col-sm-6 control-label well well-sm'>按钮、灯、仪表、门锁是否损坏、异常</label>
                                    <div id='isButtonBroken' class='col-sm-6 well well-sm'>
                                    </div>
                                </div>

                                <div class='form-group'>
                                    <label class='col-sm-6 control-label well well-sm'>冷却循环进水压力值</label>
                                    <div id='coolWaterPressureValue' class='col-sm-6 well well-sm'>
                                    </div>
                                </div>

                                <div class='form-group'>
                                    <label class='col-sm-6 control-label well well-sm'>冷却循环进水压力值照片</label>
                                    <div id='coolWaterPressureValueImgSrcShow' class='col-sm-6 well well-sm'>
                                    </div>
                                </div>

                                <div class='form-group'>
                                    <label class='col-sm-6 control-label well well-sm'>冷却循环水流量值</label>
                                    <div id='coolWaterFlowValue' class='col-sm-6 well well-sm'>
                                    </div>
                                </div>

                                <div class='form-group'>
                                    <label class='col-sm-6 control-label well well-sm'>冷却循环水流量值照片</label>
                                    <div id='coolWaterFlowValueImgSrcShow' class='col-sm-6 well well-sm'>
                                    </div>
                                </div>

                                <div class='form-group'>
                                    <label class='col-sm-6 control-label well well-sm'>水、气管道状态是否异常、连接点是否渗漏</label>
                                    <div id='isPipelineAbnormality' class='col-sm-6 well well-sm'>
                                    </div>
                                </div>

                                <div class='form-group'>
                                    <label class='col-sm-6 control-label well well-sm'>氧气总、分流量计是否异常、数值是否跳动</label>
                                    <div id='isFlowmeterAbnormal' class='col-sm-6 well well-sm'>
                                    </div>
                                </div>

                                <div class='form-group'>
                                    <label class='col-sm-6 control-label well well-sm'>窑炉传动电机是否正常运行、无异响</label>
                                    <div id='isKilnMotorNormal' class='col-sm-6 well well-sm'>
                                    </div>
                                </div>

                                <div class='form-group'>
                                    <label class='col-sm-6 control-label well well-sm'>窑炉风机是否正常运行、无异响</label>
                                    <div id='isKilnFanNormal' class='col-sm-6 well well-sm'>
                                    </div>
                                </div>

                                <div class='form-group'>
                                    <label class='col-sm-6 control-label well well-sm'>窑炉传动辊棒是否正常转动、无翘起</label>
                                    <div id='isKilnRollerNormal' class='col-sm-6 well well-sm'>
                                    </div>
                                </div>

                                <div class='form-group'>
                                    <label class='col-sm-6 control-label well well-sm'>窑炉传动辊棒异常照片</label>
                                    <div id='kilnRollerNormalImgSrcShow' class='col-sm-6 well well-sm'>
                                    </div>
                                </div>

                                <div class='form-group'>
                                    <label class='col-sm-6 control-label well well-sm'>窑炉置换室是否运行正常、无异响</label>
                                    <div id='isKilnReplaceRoomNormal' class='col-sm-6 well well-sm'>
                                    </div>
                                </div>

                                <div class='form-group'>
                                    <label class='col-sm-6 control-label well well-sm'>窑炉炉门是否卡顿、异响</label>
                                    <div id='isKilnDoorAbnormal' class='col-sm-6 well well-sm'>
                                    </div>
                                </div>

                                <div class='form-group'>
                                    <label class='col-sm-6 control-label well well-sm'>气管、电磁阀气管、电磁阀是否漏气</label>
                                    <div id='isTrachealLeakage' class='col-sm-6 well well-sm'>
                                    </div>
                                </div>

                                <div class='form-group'>
                                    <label class='col-sm-6 control-label well well-sm'>气缸、磁性开关动作是否异常</label>
                                    <div id='isMagneticSwitchAbnormal' class='col-sm-6 well well-sm'>
                                    </div>
                                </div>

                                <div class='form-group'>
                                    <label class='col-sm-6 control-label well well-sm'>循环线螺丝、防护罩是否异常</label>
                                    <div id='isProtectionCoverAbnormal' class='col-sm-6 well well-sm'>
                                    </div>
                                </div>

                                <div class='form-group'>
                                    <label class='col-sm-6 control-label well well-sm'>循环线螺丝、防护罩异常照片</label>
                                    <div id='protectionCoverAbnormalImgSrcShow' class='col-sm-6 well well-sm'>
                                    </div>
                                </div>

                                <div class='form-group'>
                                    <label class='col-sm-6 control-label well well-sm'>循环线电机是否正常运行、无异响</label>
                                    <div id='isCirculatingMotorNormal' class='col-sm-6 well well-sm'>
                                    </div>
                                </div>

                                <div class='form-group'>
                                    <label class='col-sm-6 control-label well well-sm'>装钵、翻转位连接螺栓是否松动、缺失</label>
                                    <div id='isConnectingBoltAbnormal' class='col-sm-6 well well-sm'>
                                    </div>
                                </div>

                                <div class='form-group'>
                                    <label class='col-sm-6 control-label well well-sm'>装钵、翻转位连接螺栓异常照片</label>
                                    <div id='connectingBoltAbnormalImgSrcShow' class='col-sm-6 well well-sm'>
                                    </div>
                                </div>

                                <div class='form-group'>
                                    <label class='col-sm-6 control-label well well-sm'>装钵、翻转位是否运行异常</label>
                                    <div id='isTranspositionNormal' class='col-sm-6 well well-sm'>
                                    </div>
                                </div>



                                <div class="form-group">
                                    <label class="col-sm-6 control-label well well-sm">备注</label>
                                    <div id="remark" class="col-sm-6 well well-sm">
                                    </div>
                                </div>
                            </div>
                            <div class="modal-footer">
                                    <button type="button" class="btn btn-primary" data-dismiss="modal">
                                            关闭
                                    </button>
                            </div>
                    </div><!-- /.modal-content -->
            </div><!-- /.modal-dialog -->
    </div><!-- /.modal -->
<?php $this->load->view($config['site_template'].'/foot');?>